package com.dhkj.web.bean;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

public class AddrTree implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    private String addrName;

    private List<AddrTree> children;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAddrName() {
        return addrName;
    }

    public void setAddrName(String addrName) {
        this.addrName = addrName;
    }

    public List<AddrTree> getChildren() {
        return children;
    }

    public void setChildren(List<AddrTree> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return addrName;
    }
}
